package com.lz.code.provider.service;

import com.alibaba.dubbo.config.annotation.Service;

import com.lz.code.api.HelloService;
import lombok.extern.slf4j.Slf4j;

/**
 * @author liuzhi
 * @Description
 * @Date 2022/3/3 14:46
 */
@Service(timeout = 3000)
@Slf4j
public class HelloServiceImpl implements HelloService {

    @Override
    public String sayHello(String name) {
        log.info(String.format("dubbo-provider execute. [%s]",name));
        return "Hello. ".concat(name);
    }
}
